package com.yay.warehouse.model;


/**
 * Get Started!
 * @author yakovlev.yuriy@gmail.com
 * @author Dmitry Makeev
 */
public enum LFType {
	LOST(0),
	FOUND(1);
	

	public int getId() {
		return id;
	}
	
	public static LFType findById(int id) {
		LFType ret = LOST;
		for(LFType item : values()) {
			if(item.getId() == id) {
				return item;
			}
		}
		return ret;
	}
	
	
	private int id;
	
	private LFType(int id) {
		this.id = id;
	}

}
